<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <!-- Import style -->
  <link rel="stylesheet" href="../../src/views/js/libs/unpkg.com_element-plus@2.3.7_dist_index.css" />
  <!-- Import Vue 3 -->
  <script src="../../src/views/js/libs/unpkg.com_vue@3.3.4_dist_vue.global.js"></script>
  <!-- Import component library -->
  <script src="../../src/views/js/libs/unpkg.com_element-plus@2.3.7_dist_index.full.js"></script>
  <script src="../../src/views/js/libs/unpkg.com_element-plus@2.3.6_dist_locale_zh-cn.js"></script>
  <script src="../../src/views/js/libs/cdn.staticfile.org_echarts_5.4.2_echarts.min.js"></script>
  <script src="../../src/views/js/libs/unpkg.com.element-plus.icons-vue@2.3.1_dist_index.iife.min.js"></script>
  <script src="../../src/views/js/utils/index.js"></script>
  <script src="../../src/views/js/utils/jx3.js"></script>
  <script src="../../src/views/js/utils/dashboard.js"></script>
  <script_files />

  <style lang="scss">
    @font-face {
      font-family: 'syfz';
      src: url('../../src/assets/font/custom.ttf');
    }
  </style>
  .window.style.HERE
</head>

<body>
  <section style="display: inline-block;  width: auto;  height: auto; font-family: syfz;">
    <div id="app" class="primary">
      <el-config-provider :locale="locale">
        <template.HERE />
      </el-config-provider>
    </div>
  </section>
  <script type="module">
    window.params_data = {}
    window.component.HERE
    window.component.data.HERE
    const _raw_setup_attach = component.setup
    component.setup = () => {
      const result = Object.assign({}, _raw_setup_attach())
      result.name = result.name || 'SPAComponent'
      const locale = computed(() => window.zhCn)
      result.locale = locale
      onMounted(() => {
        setTimeout(() => { render_watermark_default(result.watermark) })
      })
      return result
    }
    const app = Vue.createApp(component)
    for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
      app.component(key, component) // 注册el-icon
    }

    app.use(ElementPlus)
    app.mount('#app')
  </script>
</body>

</html>